﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SportsStore.Model;
using SportsStore.ServicesInterfaces.ModelState;

namespace SportsStore.ServicesInterfaces
{
    public interface IUserService
    {
        User GetUser(string email);
        User GetUser(int id);
        User CreateUser(string name, string email, string password);
        List<ErrorDetails> IsUserRegistrationValid(string name, string email);
    }
}
